package _spring_test._tests._Converter;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class StringToIntegerTest {

    public static void main(String[] args) {
        ApplicationContext ac = new ClassPathXmlApplicationContext("converter/application-stringtointeger.xml");
        StringToInteger stringToInteger = ac.getBean("stringToInteger", StringToInteger.class);
        System.out.println(stringToInteger.getAge());
    }
}
